package com.gz.spring.annotation;

import org.junit.jupiter.api.Test;

import java.util.concurrent.ConcurrentHashMap;

public class GzApplicationContextTest {

    @Test
    public void test() {
        GzApplicationContext ioc = new GzApplicationContext(GzSpringConfig.class);
        ConcurrentHashMap<String, Object> ioc1 = ioc.getIoc();
        for (String key : ioc1.keySet()) {
            System.out.println(key);
            System.out.println(ioc1.get(key));
        }
    }
}
